import React from 'react'
import { View, Image, Text } from '@tarojs/components'
import './proList.scss'
import Taro from '@tarojs/taro'
const proList = ({title, img, proid}) => {
  return (
    <View className='proBox' onClick={()=>{
      Taro.navigateTo({
        url: 'pages/detail/detail?proid=' + proid,
       
      })
    }}>
        <Image className='img' src={img}></Image>
        <Text className='title'>{title}</Text>
    </View>
  )
}

export default proList